﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Top.aspx.cs" Inherits="kehuguanli.Top" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        .TopBack {
             background:url("../Images/TopBack.jpg") repeat-x;
    height:25px;
    padding-right:20px;
    line-height:25px;
        }
        .TopMes
{
    color:#ffffff;
    font-weight:bolder;
    float:left;
}
        .hylk {
            color: #FF0000;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="TopBack">
        <div class="TopMes">
        <!--打开或关闭菜单的图片链接，使用jQuery语句控制事件-->
        <img src="Images/left.jpg" title="关闭菜单.." id="CloseMenu"/>&nbsp;
        <img src="Images/right.jpg"  title="展开菜单.." id="OpenMenu"/>&nbsp;
        <!--显示用户名与角色-->
        祝你工作愉快：
        <%=kehuguanli.Common.EncryptString.DeMyEnncrypt
        (kehuguanli.Common.GetMes.GetCookies("User_Name"),6)%>
        <font color=red>
        [<%=kehuguanli.Common.EncryptString.DeMyEnncrypt
         (kehuguanli.Common.GetMes.GetCookies("Power_Name"),6).Trim()%>]
        </font>&nbsp;
        <!--显示目标链接，将target指定为框架集中名为main的框架-->
            <asp:HyperLink ID="HyperLink2" runat="server" Text="[修改密码]" CssClass="hylk"></asp:HyperLink>
       &nbsp;&nbsp;
        <asp:HyperLink ID="HyperLink1" runat="server" Text=" [办公桌]" CssClass="hylk"></asp:HyperLink>&nbsp;&nbsp;
        <!--定义退出按钮，关联客户端事件与服务器端事件-->
        <asp:LinkButton ID="LBQuit" runat="server" 
             Font-Bold="True" ForeColor="White" 
            onclick="LBQuit_Click" 
            OnClientClick='return confirm("你确定退出管理系统吗？") '>[退出]
        </asp:LinkButton>
        </div>
    </div>
    </form>
</body>
</html>
